home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
EnigmA Amiga Run 1996 February
/
EnigmA AMIGA RUN 04 (1996)(G.R. Edizioni)(IT)[!][issue 1996-02][Skylink CD III].iso
/
earcd
/
comm2
/
zpont311.lha
/
zpoint-3.11
/
Rexx
/
DeleteAllNewMsgs.zprx
< prev
next >
Wrap
Text File
|
1995-03-09
|
805b
|
45 lines
/*
$VER: DeleteAllNewMsgs.zprx 1.0 (30.8.94) by Ralph Seichter
An ARexx script for "Zodiac's Point".
Deletes all new messages in the ZP database.. I suggest you
to bind this script to an F-Key, e.g. by adding the entry
F4:SYS:Rexxc/RX ZP:Rexx/DeleteAllNewMsgs.zprx %s
to your "fkeys.zp" file.
*/
PARSE ARG zp
IF zp = '' THEN
zp = 'ZPoint'
ADDRESS VALUE zp
OPTIONS RESULTS
whichlevel
IF RESULT ~= 'BOARDMENU' THEN
boardmenu
jumptoboard number 1
killed = 0
more = 1
DO WHILE more
jumptonew down
more = RC
IF more THEN DO
enterboard
selectmessage new
IF RESULT > 0 THEN DO
killed = killed + RESULT
delete
END
boardmenu
END
END
requestnotify killed || ' messages deleted.'
/* EOF */